﻿using LPLS.Commons.DBModule;
using LPLS.Commons.Enums;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPLS.DBEntities.DataCollectionModels
{

    [DatabaseKey(DatabaseEnum.CollectionConfigDB)]
    [SugarTable(nameof(DataCollectionRecord))]
    public  class DataCollectionRecord
    {


        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        public Guid DeviceId { get; set; }

        public Guid CompentId { get; set; }


        public StatusEnum Status { get; set; }

        public DateTime StartTime { get; set; }


        public DateTime EndTime { get; set; }

        public int IsCollection { get; set; } = 0;
















    }
}
